<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>${category.title}-第${pageList.pageNumber }页</title>
<meta name="keywords" content="${category.keywords}"/>
<meta name="description" content="${category.description}"/>
<jsp:include page="common/meta.jsp"/>
</head>
<body>
<div class="wrap">
  <jsp:include page="common/search.jsp"/>
  <div class="nav mb">
    <div class="ntop">
      <span class="l"></span>
      <span class="r"></span>
      <a href="/" class="index" target="_self">摆渡首页</a>
      <c:forEach items="${menuList}" var="menu"><a href="${ctx }/${menu.url }.html" title="${menu.cname }" <c:if test="${menu.cid eq category.cid }">class="this"</c:if> target="_self">${menu.cname }</a></c:forEach>
    </div>
    <jsp:include page="common/nbottom.jsp"/>
  </div>
  <jsp:include page="common/ad970.jsp"/>
  <div class="box">
    <div class="main l">
      <div class="clist border mb">
        <h3>影片列表 - ${category.cname }</h3>
        <ul>
          <c:if test="${empty pageList.list}"><li>没有数据！</li></c:if>
          <c:forEach items="${dataList}" var="film">
          <li onmouseover="this.className=&#39;this&#39;" onmouseout="this.className=&#39;&#39;"><a  href="${ctx }/${category.url }/${film.url }.html" title="${film.fname }" class="pic"><img src="${film.imgurl }" alt="${film.fname }"/></a><strong><a href="${ctx }/${category.url }/${film.url }.html">${film.fname }</a></strong><p>主演：${film.starring }</p><p>分类：${category.cname }</p><p>导演：${film.director }</p><p>时间：${film.time }</p></li>
          </c:forEach>
        </ul>
      </div>
	  <div class="page mb"><span>共${ pageList.totalRow}条数据 页次:${pageList.pageNumber }/${ pageList.totalPage}页</span>
	  <em class="nolink">首页</em>
	  <c:if test="${pageList.pageNumber eq 1}"><em class="nolink">上一页</em></c:if><c:if test="${pageList.pageNumber ne 1}"><a href="${ctx}/${category.url }_${pageList.pageNumber-1 }.html">上一页</a></c:if>
	  <c:if test="${pageList.pageNumber lt pageList.totalPage}"><a href="${ctx}/${category.url }_${pageList.pageNumber+1 }.html">下一页</a></c:if><c:if test="${pageList.pageNumber eq pageList.totalPage}"><em class="nolink">下一页</em></c:if>
	  <c:if test="${pageList.pageNumber lt pageList.totalPage}"><a href="${ctx}/${category.url }_${pageList.pageNumber }.html">尾页</a></c:if><c:if test="${pageList.pageNumber eq pageList.totalPage}"><em class="nolink">尾页</em></c:if>
	  </div>
    </div>
    <div class="sidebar r">  
      <div class="slist border mb">   
         <h3>${category.cname }推荐榜</h3>
        <ul>
          <c:forEach items="${djphList}" var="film">
           <li><a href="${ctx }/${category.url }/${film.url }.html" >${film.fname }</a><span>${film.time }</span></li>
          </c:forEach>
        </ul>
      </div>
      <div class="slist border mb">
        <h3>全站电影排行榜</h3>
        <ul>
          <c:forEach items="${qzdjphList}" var="film">
          <li><a href="${ctx }/${category.url }/${film.url }.html" >${film.fname }</a><a href="${ctx }/${category.url }.html"><span>${film.cname }</span></a></li>
          </c:forEach>
        </ul>
      </div>
    </div>
  </div>
  <jsp:include page="common/bottom.jsp"/>
</div>
</body>
</html>